package com.muk.webframework.framework.model.service;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public abstract class BaseService {
	public EntityManager em;
	public BaseService(String persistanceName) {
		EntityManagerFactory emf = Persistence
				.createEntityManagerFactory(persistanceName);
		em = emf.createEntityManager();
	}

}
